package com.huabo.fxgl.mapper;

import com.huabo.fxgl.entity.RiskRiskmarking;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.Set;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author LiYe
 * @since 2022-08-01
 */
@Repository
public interface RiskRiskmarkingMapper extends BaseMapper<RiskRiskmarking> {
    //使用ASSRISKID查询属于同一个PLAN_RISK的多个MARKING
    @Select("select * from TBL_RISK_RISKMARKING WHERE ASSRISKID=#{param1}")
    Set<RiskRiskmarking> selectListByAssriskid(BigDecimal assriskid);

}
